package com.mt.roll.wms.service;

import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.IdVo;
import com.mt.roll.core.vo.PageVo;
import com.mt.roll.core.vo.R;
import com.mt.roll.wms.params.EquipmentParam;
import com.mt.roll.wms.params.EquipmentQueryParam;
import com.mt.roll.wms.vo.EquipmentVo;

/**
 * @auther yanyang
 * @date 2021/11/01 14:04
 */

public interface EquipmentService {

    R<PageVo<EquipmentVo>> page(EquipmentQueryParam equipmentQueryParam);

    R<EquipmentVo> get(IdParam idParam);

    R<IdVo> add(EquipmentParam equipmentParam);

    R<IdVo> update(EquipmentParam equipmentParam);

    R<IdVo> delete(IdParam idParam);

    R<String> getCode();
}
